﻿using MediatR;
using PublicClass;
using S.RBAC.Domain.Dto;
using S.RBAC.Domain.Model;

namespace S.RBAC.Read.Api.Application.Command.DepartmentCommand
{
    public class DepartmentGetAllCommand:IRequest<PageInfo<DepartmentDto>>
    {
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepartName { get; set; }

        /// <summary>
        /// 部门类型Id
        /// </summary>
        public int? DepartTypeId { get; set; }

        /// <summary>
        /// 部门状态
        /// </summary>
        public bool? DepartState { get; set; }

        /// <summary>
        /// 页序号
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
